package com.baixun.gasadmin;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication()
@MapperScan(basePackages = {"com.baixun.gassystem.mapper"})
@EnableScheduling  // 启用定时任务
public class GasAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(GasAdminApplication.class, args);
        System.out.println("上海燃气驾驶舱项目启动成功!");
    }

}
